export class ColorUtil {
  // ColorUtil 类的实现
  public getCellBackgroundColor(cellValue: number) {
    switch (cellValue) {
      case 2:
        return "#eee4da";
      case 4:
        return "#ede0c8";
      case 8:
        return "#f2b179";
      case 16:
        return "#f59563";
      case 32:
        return "#f67c5f";
      case 64:
        return "#f65e3b";
      case 128:
        return "#edcf72";
      case 256:
        return "#edcc61";
      case 512:
        return "#edc850";
      case 1024:
        return "#edc53f";
      case 2048:
        return "#edc22e";
      case 4096:
        return "#2AC6C0";
      case 8192:
        return "#5EB59D";
      default:
        return "rgba(238, 228, 218, 0.35)";
    }
  }
}